<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="">
        <!-- autocomplete="on/off/"   on会显示提交记录 -->
        <input type="text" name="text_name" autocomplete="off" list="id2">
        <datalist id="id2">
            <option>123456</option>
            <option>23456</option>
            <option>34567</option>
        </datalist>
        <input type="submit">
    </form>
</body>
</html>